<template>
  <h2>Home组件</h2>
</template>

<script setup>
import { onBeforeUnmount, onUnmounted, onBeforeMount, onMounted } from 'vue'
onBeforeMount(() => {
  console.log('home onBeforeMount')
})
onMounted(() => {
  console.log('home onMounted')
})
onBeforeUnmount(() => {
  console.log('home onBeforeUnmount')
})
onUnmounted(() => {
  console.log('home onUnmounted')
})
</script>

<style lang="scss" scoped></style>
